
base_dir=$(
  cd "$(dirname "$0")"
  pwd
)
for absPath in $base_dir/* ; do
 if [  -d $absPath ]; then
    echo $absPath
    cd $absPath
    go get -u all
  fi
done

	go get  github.com/BurntSushi/toml
	go get  github.com/Lofanmi/pinyin-golang
	go get  github.com/PuerkitoBio/goquery
	go get  github.com/beego/beego/v2
	go get  github.com/eclipse/paho.mqtt.golang
	go get  github.com/fsnotify/fsnotify
	go get  github.com/gin-contrib/cors
	go get  github.com/gin-gonic/gin
	go get  github.com/golang-jwt/jwt/v5
	go get  github.com/gookit/color
	go get  github.com/gorilla/websocket
	go get  github.com/grpc-ecosystem/grpc-gateway/v2
	go get  github.com/influxdata/influxdb-client-go/v2
	go get  github.com/json-iterator/go
	go get  github.com/labstack/gommon
	go get  github.com/nsqio/go-nsq
	go get  github.com/pkg/errors
	go get  github.com/redis/go-redis/v9
	go get  github.com/skip2/go-qrcode
	go get 	go.etcd.io/etcd/client/v3
	go get 	go.mongodb.org/mongo-driver
	go get 	golang.org/x/net
	go get 	google.golang.org/grpc
	go get 	google.golang.org/protobuf
	go get 	gopkg.in/yaml.v3
	go get 	gorm.io/driver/mysql
	go get 	gorm.io/gen
	go get 	gorm.io/gorm